-- GENERATED SPELL FOR [Gordunni Warlord] --


function spell0_5241(pUnit, Event) --@Echoing Roar,Self--
pUnit:FullCastSpellOnTarget(10967,pUnit)
pUnit:RegisterEvent('Sorts_5241', 20292, 1)
end

function Sorts_5241(pUnit, Event)
local choix_sorts_5241 = math.random(0, 0)
if choix_sorts_5241 == 0 then
pUnit:RegisterEvent('spell0_5241', 1, 1)
end
end

function mob5241_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5241', math.random(1500, 3000), 1)
end

function mob5241_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5241_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5241_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5241, 1, 'mob5241_Action')
RegisterUnitEvent(5241, 2, 'mob5241_Leave')
RegisterUnitEvent(5241, 3, 'mob5241_Kill')
RegisterUnitEvent(5241, 4, 'mob5241_Die')
